package com.qf.hospital.system.mapper;

import com.qf.hospital.system.entity.Doctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorMapper {
    int deleteByPrimaryKey(Integer doctorId);

    int insert(Doctor record);

    int insertSelective(Doctor record);

    Doctor selectByPrimaryKey(Integer doctorId);

    int updateByPrimaryKeySelective(Doctor record);

    int updateByPrimaryKey(Doctor record);

    // 添加挂号信息时，查找医生信息
    List<Doctor> findDoctorByCondition(@Param("registeredId")Integer registeredId ,@Param("departments") Integer departments,@Param("week")String week);


}